home *** CD-ROM | disk | FTP | other *** search
/ How Many Bugs in a Box / How Many Bugs in a Box.cdr / bugs / act1 / 00159.ls < prev    next >
Encoding:
Text File  |  1995-04-03  |  305 b   |  12 lines

  1. on exitFrame
  2.   global numberbugs
  3.   repeat with xxx = 1 to 10
  4.     if xxx = numberbugs then
  5.       set the castNum of sprite (37 + xxx) to the number of cast string(xxx & "a")
  6.     else
  7.       set the castNum of sprite (37 + xxx) to the number of cast string(xxx)
  8.     end if
  9.     updateStage()
  10.   end repeat
  11. end
  12.